package com.bjsxt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bjsxt.pojo.HostAddResult;
import com.bjsxt.pojo.PageResult;
import com.bjsxt.pojo.Role;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-10-14
 */
public interface IRoleService extends IService<Role> {
    //查询所有角色
    PageResult<Role> selRoleInfo(Integer page, Integer rows);

    HostAddResult insRoleInfoService(Role role, String mids);

    HostAddResult upRoleInfoService(Role role, String mids);

    HostAddResult delRoleInfoService(String mids);
}
